from matplotlib import pyplot as plt

x = [5, 8, 10]
y = [12, 6, 6]
x2 = [6, 9, 11]
y2 = [6, 5, 17]
plt.bar(x, y, align='center')
plt.bar(x2, y2, color='g', align='center')
plt.title('Bar graph')
plt.ylabel('Y ais')
plt.xlabel('X ais')
plt.show()
